package com.feemanage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 项目入账-科目预算费
 */
@Data
@TableName("biz_claim_fee_card_budget")
public class BizClaimFeeCardBudget {

    private static final long serialVersionUID = 1L;

    /** 自增ID */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /** 项目ID */
    private String projectId;

    /** 认领ID */
    private String claimId;

    /** 来款ID */
    private String incomeId;

    /** 经费卡号id */
    private String feeChargerId;

    /** 经费卡号 */
    private String feeCardNum;

    /** 费用代码id */
    private String subjectId;


    /** 费用代码 */
    private String subjectCode;

    /** 费用名称 */
    private String subjectName;

    /** 费用金额 */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal subjectFee;

    /** 科目层级 */
    private Integer subjectLevel;

    /** 上级代码 */
    private String upCode;

}
